class Game
{
	Game()
	{
		// 'engine' is a global property: it can be accessed from anywhere.
		// We use it to access the ui system in this case
		UiSystem@ ui = engine.ui();

		// To demonstrate the simplicity, we create a new widget of the type dialog
		// and add it to the desktop.
		Dialog@ dlg = ui.desktop().add(DialogType, "dialog");
		dlg.setTitle("Hi there");
		dlg.setText("Hello World!");
	}
};
///////////////////////////////////////////////////////////////////////////////////////////////////
